#!/usr/bin/env bash

######getWifiStats
curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"wifiid": "86500110001000100010000010b5bc926678"}' \
"http://localhost:9096/zc-julink-ps/v1/getWifiStats"

curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"wifiid": "86500110001000100010000010b5bc926678"}' \
"http://ac-java-ps:9096/ac-julink-ps/getWifiStats"

curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"wifiid": "86500510002000300030000012e1e917a59c"}' \
"http://ac-new-ps:9096/zc-julink-ps/v1/getWifiStats"

######getWifiListStats
curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"wifilist": ["86500110001000100010000010b5bc926678", "86100c00fffe00500000020603da145b7a00"]}' \
"http://ac-java-ps:9096/ac-julink-ps/getWifiListStats"

curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"wifilist": ["86500110001000100010000010b5bc926678", "86100c00fffe00500000020603da145b7a00"]}' \
"http://ac-julink-ps:9096/zc-julink-ps/v1/getWifiListStats"

curl -X POST -H "Content-Type:application/x-zc-object" \
-d '{"wifilist": ["86500110001000100010000010b5bc926678", "86100c00fffe00500000020603da145b7a00"]}' \
"http://ac-java-ps:9096/zc-julink-ps/v1/getWifiListStats"

#########verify
curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:16" -H "x-zc-sub-domain-id:22" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"token":"f6ca18dbb40d4663b2d821f2675c858c"}' \
"http://ac-julink-auth:5020/zc-julink-auth/v1/vertify"

curl -X POST -H "Content-Type:application/x-zc-object" -H "x-zc-major-domain-id:16" -H "x-zc-sub-domain-id:22" -H "X-Zc-Timeout:9999999" -H "x-zc-developer-id:333" \
-d '{"token":"f6ca18dbb40d4663b2d821f2675c858c"}' \
"http://ac-java-ps:9096/zc-julink-auth/v1/vertify"
